package com.hung.trade.common.protocol.coupon;

import com.hung.trade.common.protocol.BaseResp;

import java.math.BigDecimal;

/**
 * @author hungki
 * @createTime 2018-10-09 上午 1:30
 */
public class ChangeCouponResp extends BaseResp {
    private String couponId;

    private BigDecimal couponPrice;

    private Long userId;

    private String orderId;

    private String isUsed;

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed;
    }

    @Override
    public String toString() {
        return "ChangeCouponResp{" +
                "couponId='" + couponId + '\'' +
                ", couponPrice=" + couponPrice +
                ", userId=" + userId +
                ", orderId='" + orderId + '\'' +
                ", isUsed='" + isUsed + '\'' +
                '}';
    }
}
